@import models.wifi.WiFiInfo
@(message: String,seq:Seq[WiFiInfo])(implicit request: RequestHeader,session:Session)
@import views.html.dingtalk.ionicmain

@import helper._

@ionicmain(message,scripts=js) {
<ion-header>
    <ion-toolbar>
        <ion-buttons slot="start">
            <ion-menu-button></ion-menu-button>
        </ion-buttons>
        <ion-title>WIFI</ion-title>
    </ion-toolbar>
</ion-header>
<ion-content class="ion-padding">


<div >
    <div style=" height:22px;"></div>
    <div class="site-text site-block">
        @for(w<-seq){
        <div class="layui-col-md12">
            <div class="layui-row grid-demo">
                <div class="layui-col-sm3 layui-col-md2 ">
                    <div class="grid-demo grid-demo-bg1">更新时间</div>
                    <div class="grid-demo1 grid-demo-bg0">@w.date.toLocalDateTime.toLocalDate</div>
                </div>
                <div class="layui-col-sm9 layui-col-md3 ">
                    <div class="grid-demo grid-demo-bg2">WiFi名称</div>
                    <div class="grid-demo1 grid-demo-bg0">@w.name</div>
                </div>
                <div class="layui-col-sm12 layui-col-md3 ">
                    <div class="grid-demo grid-demo-bg3">密码</div>
                    <div class="grid-demo1 grid-demo-bg0"><span style="color:#F00;">@w.password</span></div>
                </div>
                <div class="layui-col-sm12 layui-col-md4 ">
                    <div class="grid-demo grid-demo-bg4">备注</div>
                    <div class="grid-demo1 grid-demo-bg0">@w.note</div>
                </div>
            </div>
        </div>
        }

    </div>


</div>
<div class="layui-border-box" style=" height:162px;">


</div>
</ion-content>

}
@js = {

}
